package com.skyeye.office.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skyeye.annotation.api.ApiModel;
import com.skyeye.annotation.api.ApiModelProperty;
import com.skyeye.common.entity.features.OperatorUserInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: DocumentEditLog
 * @Description: 文档编辑记录实体类
 * @author: skyeye云系列--卫志强
 * @date: 2024/1/10
 * @Copyright: 2024 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
 * 注意：本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
 */
@Data
@TableName(value = "sys_document_edit_log")
@EqualsAndHashCode(callSuper = false)
@ApiModel("文档编辑记录实体类")
public class DocumentEditLog extends OperatorUserInfo {

    @TableId("id")
    @ApiModelProperty(value = "主键id。为空时新增，不为空时编辑")
    private String id;

    @TableField("document_id")
    @ApiModelProperty(value = "文档ID", required = "required")
    private String documentId;

    @TableField("version")
    @ApiModelProperty(value = "版本号", required = "required")
    private Integer version;

    @TableField("operation_type")
    @ApiModelProperty(value = "操作类型", required = "required")
    private String operationType;

    @TableField("operation_content")
    @ApiModelProperty(value = "操作内容")
    private String operationContent;
} 